package com.tianbo.elfii.client.common;

import java.io.*;
import java.net.*;
import java.sql.*;
import java.text.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import java.awt.image.*;
import javax.imageio.*;

/**  <pre>
     <b>类功能描述：</b><pre>
     完成 登录键盘底层 功能要求。
     </pre>
     @version 1.0.1
     @author 高伟 
*/

public class ElfiiCommonLoginKeyboard extends ElfiiCommonKeyboard  {

    public ElfiiCommonLoginKeyboard(){

        int keyNumbers=55; //-数值大些，虽然会异常，但可以看到总数量。

        keyIdA                =new int[keyNumbers];
        keyLabelA           =new String[keyNumbers];
        keyShiftLabelA           =new String[keyNumbers];
        keyX0A                 =new int[keyNumbers];
        keyY0A                 =new int[keyNumbers];
        keyNormalImgNameA       =new String[keyNumbers];
        keyNormalPressedImgNameA=new String[keyNumbers];
        keyShiftPressedImgNameA =new String[keyNumbers];

        String normalImgDir       ="resource-common/images/login/keyboard/original/";
        String normalPressedImgDir="resource-common/images/login/keyboard/click_1/";
        String shiftPressedImgDir ="resource-common/images/login/keyboard/click_2/";
        int rowX,rowY;
        int k=-1;


        //-123...zone
        rowY=4;  
        rowX=-40;

        k++;
        rowX+=56;
        keyIdA[k]=-99;
        keyLabelA[k]="`";
        keyShiftLabelA[k]="~";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_01.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_01.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_01.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_1;
        keyLabelA[k]="1";
        keyShiftLabelA[k]="!";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_02.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_02.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_02.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_2;
        keyLabelA[k]="2";
        keyShiftLabelA[k]="@";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_03.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_03.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_03.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_3;
        keyLabelA[k]="3";
        keyShiftLabelA[k]="#";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_04.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_04.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_04.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_4;
        keyLabelA[k]="4";
        keyShiftLabelA[k]="$";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_05.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_05.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_05.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_5;
        keyLabelA[k]="5";
        keyShiftLabelA[k]="%";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_06.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_06.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_06.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_6;
        keyLabelA[k]="6";
        keyShiftLabelA[k]="^";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_07.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_07.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_07.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_7;
        keyLabelA[k]="7";
        keyShiftLabelA[k]="&";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_08.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_08.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_08.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_8;
        keyLabelA[k]="8";
        keyShiftLabelA[k]="*";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_09.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_09.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_09.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_9;
        keyLabelA[k]="9";
        keyShiftLabelA[k]="(";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_10.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_10.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_10.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_0;
        keyLabelA[k]="0";
        keyShiftLabelA[k]=")";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_11.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_11.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_11.png";

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_BACK_SPACE;
        keyLabelA[k]="back";
        keyShiftLabelA[k]="back";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_12.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_12.png";
        keyShiftPressedImgNameA[k] = null;

        //-QWE...zone
        rowY=60;  
        rowX=-40;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_Q;
        keyLabelA[k]="q";
        keyShiftLabelA[k]="Q";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_13.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_13.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_W;
        keyLabelA[k]="w";
        keyShiftLabelA[k]="W";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_14.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_14.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_E;
        keyLabelA[k]="e";
        keyShiftLabelA[k]="E";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_15.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_15.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_R;
        keyLabelA[k]="r";
        keyShiftLabelA[k]="R";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_16.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_16.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_T;
        keyLabelA[k]="t";
        keyShiftLabelA[k]="T";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_17.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_17.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_Y;
        keyLabelA[k]="y";
        keyShiftLabelA[k]="Y";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_18.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_18.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_U;
        keyLabelA[k]="u";
        keyShiftLabelA[k]="U";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_19.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_19.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_I;
        keyLabelA[k]="i";
        keyShiftLabelA[k]="I";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_20.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_20.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_O;
        keyLabelA[k]="o";
        keyShiftLabelA[k]="O";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_21.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_21.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_P;
        keyLabelA[k]="p";
        keyShiftLabelA[k]="P";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_22.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_22.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_OPEN_BRACKET;
        keyLabelA[k]="[";
        keyShiftLabelA[k]="{";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_23.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_23.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_CLOSE_BRACKET;
        keyLabelA[k]="]";
        keyShiftLabelA[k]="}";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_24.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_24.png";
        keyShiftPressedImgNameA[k] = null;


        //-ASD...zone
        rowY=117;  
        rowX=-9;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_A;
        keyLabelA[k]="a";
        keyShiftLabelA[k]="A";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_25.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_25.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_S;
        keyLabelA[k]="s";
        keyShiftLabelA[k]="S";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_26.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_26.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_D;
        keyLabelA[k]="d";
        keyShiftLabelA[k]="D";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_27.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_27.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_F;
        keyLabelA[k]="f";
        keyShiftLabelA[k]="F";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_28.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_28.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_G;
        keyLabelA[k]="g";
        keyShiftLabelA[k]="G";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_29.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_29.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_H;
        keyLabelA[k]="h";
        keyShiftLabelA[k]="H";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_30.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_30.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_J;
        keyLabelA[k]="j";
        keyShiftLabelA[k]="J";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_31.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_31.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_K;
        keyLabelA[k]="k";
        keyShiftLabelA[k]="K";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_32.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_32.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_L;
        keyLabelA[k]="l";
        keyShiftLabelA[k]="L";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_33.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_33.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_SEMICOLON;
        keyLabelA[k]=";";
        keyShiftLabelA[k]=":";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_34.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_34.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_QUOTE;
        keyLabelA[k]="'";
        keyShiftLabelA[k]="\"";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_35.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_35.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_BACK_SLASH;
        keyLabelA[k]="\\";
        keyShiftLabelA[k]="|";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_36.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_36.png";
        keyShiftPressedImgNameA[k] = null;

        //-ZXC...zone
        rowY=174;  
        rowX=-40;

        k++;
        rowX+=56;
        keyIdA[k]=VK_LEFT_SHIFT;
        keyLabelA[k]="leftShift";
        keyShiftLabelA[k]="leftShift";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_37.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_37.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_Z;
        keyLabelA[k]="z";
        keyShiftLabelA[k]="Z";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_38.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_38.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_X;
        keyLabelA[k]="x";
        keyShiftLabelA[k]="X";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_39.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_39.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_C;
        keyLabelA[k]="c";
        keyShiftLabelA[k]="C";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_40.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_40.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_V;
        keyLabelA[k]="v";
        keyShiftLabelA[k]="V";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_41.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_41.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_B;
        keyLabelA[k]="b";
        keyShiftLabelA[k]="B";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_42.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_42.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_N;
        keyLabelA[k]="n";
        keyShiftLabelA[k]="N";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_43.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_43.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_M;
        keyLabelA[k]="m";
        keyShiftLabelA[k]="M";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_44.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_44.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_COMMA;
        keyLabelA[k]=",";
        keyShiftLabelA[k]="<";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_45.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_45.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_PERIOD;
        keyLabelA[k]=".";
        keyShiftLabelA[k]=">";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_46.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_46.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_SLASH;
        keyLabelA[k]="/";
        keyShiftLabelA[k]="?";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_47.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_47.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=VK_RIGHT_SHIFT;
        keyLabelA[k]="rightShift";
        keyShiftLabelA[k]="rightShift";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_48.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_48.png";
        keyShiftPressedImgNameA[k] = null;

        //-space...zone
        rowY=232;  
        rowX=-44;

        k++;
        rowX+=56;
        keyIdA[k]=VK_MAP_1;
        keyLabelA[k]="map1";
        keyShiftLabelA[k]="map1";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =normalImgDir+"keyboard_56.png";
        keyNormalPressedImgNameA[k]=normalImgDir+"keyboard_56.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=116;
        keyIdA[k]=KeyEvent.VK_MINUS;
        keyLabelA[k]="-";
        keyShiftLabelA[k]="_";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_50.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_50.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=58;
        keyIdA[k]=KeyEvent.VK_SPACE;
        keyLabelA[k]=" ";
        keyShiftLabelA[k]=" ";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_51.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_51.png";
        keyShiftPressedImgNameA[k] = null;
        
        k++;
        rowX+=280;
        keyIdA[k]=KeyEvent.VK_EQUALS;
        keyLabelA[k]="=";
        keyShiftLabelA[k]="+";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_52.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_52.png";
        keyShiftPressedImgNameA[k] = shiftPressedImgDir+"keyboard_52.png";
        
        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_LEFT;
        keyLabelA[k]="left";
        keyShiftLabelA[k]="left";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_53.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_53.png";
        keyShiftPressedImgNameA[k] = null;

        k++;
        rowX+=56;
        keyIdA[k]=KeyEvent.VK_RIGHT;
        keyLabelA[k]="right";
        keyShiftLabelA[k]="right";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =       normalImgDir+"keyboard_54.png";
        keyNormalPressedImgNameA[k]=normalPressedImgDir+"keyboard_54.png";
        keyShiftPressedImgNameA[k] = null;
        
        k++;
        rowX+=56;
        keyIdA[k]=VK_MAP_2;
        keyLabelA[k]="map";
        keyShiftLabelA[k]="map";
        keyX0A[k]=rowX;
        keyY0A[k]=rowY;
        keyNormalImgNameA[k]       =normalImgDir+"keyboard_57.png";
        keyNormalPressedImgNameA[k]=normalImgDir+"keyboard_57.png";
        keyShiftPressedImgNameA[k] = null;

        //System.out.println("键盘的按键数量:"+(k+1));

        setNormalKeyWidthHeight(60,60);
        setSpecialKeyWidthHeight(VK_MAP_1,120,60);
        setSpecialKeyWidthHeight(KeyEvent.VK_BACK_SPACE,85,60);
        setSpecialKeyWidthHeight(KeyEvent.VK_SPACE,280,60);
        setSpecialKeyWidthHeight(VK_RIGHT_SHIFT,85,60);
        //keyBgImageName="resource-common/images/login/keyboard/sample.png";
        keyBgImageX0=0;
        keyBgImageY0=0;
        keyBgWidth=735;
        keyBgHeight=300;
    }

}
